package com.linq.cool.beauty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linq.cool.beauty.domain.BeautyVehicle;
import com.linq.cool.beauty.dto.BeautyVehicleQueryDTO;
import com.linq.cool.beauty.vo.BeautyVehicleVO;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: yqlin
 * @Date: 2021/2/1 03:59
 * @Description:
 * @Version: 1.0.0
 */

public interface BeautyVehicleMapper extends BaseMapper<BeautyVehicle> {

    /**
     * 条件分页查询车辆信息
     *
     * @param page 分页对象
     * @param dto  条件
     */
    IPage<BeautyVehicleVO> listByPage(IPage<BeautyVehicleVO> page, @Param("dto") BeautyVehicleQueryDTO dto);
}